﻿using System;
using Kyoh.Lib.Component.Globalization;

namespace Kyoh.App.Renamer.RenameEventArgs
{
    public class DuplicatedPathEventArgs : EventArgs
    {
        [EnumName(ResourceSource = typeof(Properties.Resources))]
        public enum DuplicatedPathMethod
        {
            /// <summary>無視</summary>
            Skip,
            /// <summary>中止</summary>
            Undo,
            /// <summary>中断</summary>
            Abort,
            /// <summary>再実行</summary>
            Retry,
            /// <summary>上書き</summary>
            OverWrite,
            /// <summary>連番</summary>
            Number,
        }

        public DuplicatedPathEventArgs(string oldPath, string newPath)
        {
            OldPath = oldPath;
            NewPath = newPath;
        }

        public string OldPath { get; private set; }
        public string NewPath { get; private set; }

        public DuplicatedPathMethod Method { get; set; }
    }
}